package com.guzhen.wallpager;

import android.os.Build;
import android.text.TextUtils;

public class DevicePropertiesHelper {
    public static String IIILiLlllL() {
        return "";
    }

    public static boolean isHonor() {
        return ("HONOR".equalsIgnoreCase(Build.MANUFACTURER)) || ("HONOR".equalsIgnoreCase(Build.BRAND));
    }

    public static boolean isHuawei() {
        return (RomUtils.isHuawei()) || (DevicePropertiesHelper.isHonor());
    }

    public static boolean isHarmony() {
        try {
            Class class0 = Class.forName("com.huawei.system.BuildEx");
            return "Harmony".equalsIgnoreCase(class0.getMethod("getOsBrand").invoke(class0).toString());
        }
        catch(Throwable unused_ex) {
            return false;
        }
    }

    // String Decryptor: 1 succeeded, 0 failed
    private static String getSystemProperties(String s, String s1) {
        try {
            Class class0 = Class.forName("android.os.SystemProperties");
            String s2 = (String)class0.getDeclaredMethod("get", String.class).invoke(class0, s);
            return TextUtils.isEmpty(s2) ? s1 : s2;
        }
        catch(Throwable throwable0) {
            throwable0.printStackTrace();
            return s1;
        }
    }

    public static boolean isVivoOrIqoo() {
        return (RomUtils.isVivo()) || (("vivo".equalsIgnoreCase(Build.BRAND)) || ("iqoo".equalsIgnoreCase(Build.BRAND)));
    }

    public static String getDisplay() {
        return Build.DISPLAY;
    }
}

